import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
import Router from './router/router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import VueAmazingUI from 'vue-amazing-ui'
import 'vue-amazing-ui/css'
import piniaPluginPersistedState from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedState)
createApp(App).use(VueAmazingUI).use(ElementPlus).use(Router).use(pinia).mount('#app')
